package com.itheima.design.mode.responsibility;


/**
 * 具体的责任逻辑实现
 */
public class ResponsibilityA implements Responsibility {

    @Override
    public void process(Request request, ResponsibilityChain chain) {
        System.out.println("-----A前置增强-----");
        chain.process(request);
        System.out.println("-----A后置增强-----");
    }
}
